using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools._Administration
{
    /// <summary>
    /// <para>Delete Network Category</para>
    /// <para>Deletes a network category in a utility network.</para>
    /// <para>删除公共设施网络中的网络类别。</para>
    /// </summary>    
    [DisplayName("Delete Network Category")]
    public class DeleteNetworkCategory : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DeleteNetworkCategory()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Utility Network</para>
        /// <para>The utility network that contains the network category to be deleted.</para>
        /// <para>包含要删除的网络类别的公共设施网络。</para>
        /// </param>
        /// <param name="_category_name">
        /// <para>Category Name</para>
        /// <para>The name of the network category to delete.</para>
        /// <para>要删除的网络类别的名称。</para>
        /// </param>
        public DeleteNetworkCategory(object _in_utility_network, object _category_name)
        {
            this._in_utility_network = _in_utility_network;
            this._category_name = _category_name;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Delete Network Category";

        public override string CallName => "un.DeleteNetworkCategory";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _category_name, _out_utility_network];

        /// <summary>
        /// <para>Input Utility Network</para>
        /// <para>The utility network that contains the network category to be deleted.</para>
        /// <para>包含要删除的网络类别的公共设施网络。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Utility Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Category Name</para>
        /// <para>The name of the network category to delete.</para>
        /// <para>要删除的网络类别的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Category Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _category_name { get; set; }


        /// <summary>
        /// <para>Updated Utility Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Utility Network")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_utility_network { get; set; }


        public DeleteNetworkCategory SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}